package hu.sulirend.model;

import javax.persistence.Column;
import javax.persistence.Entity;

/**
 * Represents the class objects at the school.
 *
 * @author <a href="mailto: peter.szilagyi@gmail.com">Peter Szilagyi</a> 
 * @since 2008
 */
@Entity
public class Clazz extends BaseEntity {
	
	private static final long serialVersionUID = -4956270789354890693L;
	
	private String grade;
	private String clazz;
	
	@Column(unique=false, nullable=false, updatable=false, insertable=false)
	public String getGrade() {
		return grade;
	}
	public void setGrade(String grade) {
		this.grade = grade;
	}
	@Column(name="CLAZZ", unique=false, nullable=false, updatable=false, insertable=false)
	public String getClazz() {
		return clazz;
	}
	public void setClazz(String clazz) {
		this.clazz = clazz;
	}

}
